﻿using System.ComponentModel.DataAnnotations;

namespace XieCan.Core.DTO
{
  public partial class AccountSingleModel : BaseSingleModel
  {
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名")]
    public string? Name { get; set; }
  }

  public partial class AccountListModel : BaseListModel
  {
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名")]
    public string? Name { get; set; }
  }

  public partial class AccountCreateModel : BaseCreateModel
  {
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名")]
    public string? Name { get; set; }
  }

  public partial class AccountUpdateModel : BaseUpdateModel
  {
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名")]
    public string? Name { get; set; }
  }
}
